import request from '@/utils/request'

// 查询订单备注列表
export function listAppOrderRemark(query) {
  return request({
    url: '/index/appOrderRemark/list',
    method: 'get',
    params: query
  })
}

// 查询订单备注详细
export function getAppOrderRemark(id) {
  return request({
    url: '/index/appOrderRemark/' + id,
    method: 'get'
  })
}

// 新增订单备注
export function addAppOrderRemark(data) {
  return request({
    url: '/index/appOrderRemark',
    method: 'post',
    data: data
  })
}

// 修改订单备注
export function updateAppOrderRemark(data) {
  return request({
    url: '/index/appOrderRemark',
    method: 'put',
    data: data
  })
}

// 删除订单备注
export function delAppOrderRemark(id) {
  return request({
    url: '/index/appOrderRemark/' + id,
    method: 'delete'
  })
}
